body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.register-container {
    background-color: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    width: 450px;
}

.register-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 16px;
}

.form-group input:focus {
    border-color: #ff6700;
    outline: none;
}

.error-message {
    color: #ff0000;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    height: 20px;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #ff6700;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #e55c00;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.form-footer a {
    color: #ff6700;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

.password-strength {
    margin-top: 5px;
    height: 5px;
    background-color: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s, background-color 0.3s;
}

.strength-weak {
    background-color: #ff4d4f;
    width: 30%;
}

.strength-medium {
    background-color: #faad14;
    width: 60%;
}

.strength-strong {
    background-color: #52c41a;
    width: 100%;
}